package br.com.tarlis.persistent.server;

import br.com.tarlis.accesscontrol.client.model.User;

public interface PoolManager {

	public DatabaseConnection<?> getConnection(User key);

	public boolean isEmpty();

	public DatabaseConnection<?> putConnection(User key, DatabaseConnection<?> value);

	public DatabaseConnection<?> removeConnection(User key);

	public int size();
	
}
